package common.entity;

import java.util.Date;

/**
 * @author: Han
 * @date: 2018/8/21 9:51
 * @dscription: 标题列表实体
 */
public class DetailListEntity {
    private int id;
    /**
     * 标题列表链接
     */
    private String url;
    /**
     * 站点来源名称
     */
    private String source;
    /**
     * 已访问页码数
     */
    private int usedCount;
    /**
     * 总页码数
     */
    private int totalCount;
    /**
     * 最后一次的新闻日期
     */
    private Date lastDate;

    public DetailListEntity(String url, String source, int usedCount, int totalCount, Date lastDate) {
        this.url = url;
        this.source = source;
        this.usedCount = usedCount;
        this.totalCount = totalCount;
        this.lastDate = lastDate;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(int usedCount) {
        this.usedCount = usedCount;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }
}
